package com.landinfo.domain;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * 系统设置
 */
@Component
@ConfigurationProperties(prefix = "appconfiginfo")
public class SystemSetting {
    /**
     * gps最小更新距离
     */
    private int mapGpsMinUpateDistance;
    /**
     * gps最小更新时间
     */
    private int mapGpsMinUpdateTime;

    private int patrolGpsMinUpateDistanceWalk;
    private int patrolGpsMinUpateDistanceCycling;

    private int patrolGpsMinUpdateTimeWalk;
    private int patrolGpsMinUpdateTimeCycling;

    /**
     * 当前位置与上次结束巡护时的位置的最大间隔距离（米）
     */
    private int intervalMaxDistance;
    /**
     * 当前时间与第一次巡护开始时间的最大间隔时间（小时）
     */
    private int intervalMaxTime;

    /**
     * 每分钟步行最大距离（米/秒）
     */
    private int maxDistancePerSecondWalk;
    /**
     * 每分钟骑行最大距离（米/秒）
     */
    private int maxDistancePerSecondCycling;

    private String tpkPath;

    public int getMapGpsMinUpateDistance() {
        return mapGpsMinUpateDistance;
    }

    public void setMapGpsMinUpateDistance(int mapGpsMinUpateDistance) {
        this.mapGpsMinUpateDistance = mapGpsMinUpateDistance;
    }

    public int getMapGpsMinUpdateTime() {
        return mapGpsMinUpdateTime;
    }

    public void setMapGpsMinUpdateTime(int mapGpsMinUpdateTime) {
        this.mapGpsMinUpdateTime = mapGpsMinUpdateTime;
    }

    public int getPatrolGpsMinUpateDistanceWalk() {
        return patrolGpsMinUpateDistanceWalk;
    }

    public void setPatrolGpsMinUpateDistanceWalk(int patrolGpsMinUpateDistanceWalk) {
        this.patrolGpsMinUpateDistanceWalk = patrolGpsMinUpateDistanceWalk;
    }

    public int getPatrolGpsMinUpdateTimeWalk() {
        return patrolGpsMinUpdateTimeWalk;
    }

    public void setPatrolGpsMinUpdateTimeWalk(int patrolGpsMinUpdateTimeWalk) {
        this.patrolGpsMinUpdateTimeWalk = patrolGpsMinUpdateTimeWalk;
    }

    public int getPatrolGpsMinUpateDistanceCycling() {
        return patrolGpsMinUpateDistanceCycling;
    }

    public void setPatrolGpsMinUpateDistanceCycling(int patrolGpsMinUpateDistanceCycling) {
        this.patrolGpsMinUpateDistanceCycling = patrolGpsMinUpateDistanceCycling;
    }

    public int getPatrolGpsMinUpdateTimeCycling() {
        return patrolGpsMinUpdateTimeCycling;
    }

    public void setPatrolGpsMinUpdateTimeCycling(int patrolGpsMinUpdateTimeCycling) {
        this.patrolGpsMinUpdateTimeCycling = patrolGpsMinUpdateTimeCycling;
    }

    public String getTpkPath() {
        return tpkPath;
    }

    public void setTpkPath(String tpkPath) {
        this.tpkPath = tpkPath;
    }

    public int getIntervalMaxDistance() {
        return intervalMaxDistance;
    }

    public void setIntervalMaxDistance(int intervalMaxDistance) {
        this.intervalMaxDistance = intervalMaxDistance;
    }

    public int getIntervalMaxTime() {
        return intervalMaxTime;
    }

    public void setIntervalMaxTime(int intervalMaxTime) {
        this.intervalMaxTime = intervalMaxTime;
    }

    public int getMaxDistancePerSecondWalk() {
        return maxDistancePerSecondWalk;
    }

    public void setMaxDistancePerSecondWalk(int maxDistancePerSecondWalk) {
        this.maxDistancePerSecondWalk = maxDistancePerSecondWalk;
    }

    public int getMaxDistancePerSecondCycling() {
        return maxDistancePerSecondCycling;
    }

    public void setMaxDistancePerSecondCycling(int maxDistancePerSecondCycling) {
        this.maxDistancePerSecondCycling = maxDistancePerSecondCycling;
    }

}
